package com.tmc.bean.intcar;

/**
 * @author zhang
 * @date 2017年12月22日 下午6:42:30 
 */
public class EthUpdateOrderResp {
	
	private boolean success;
	private String message;
	private Object obj;
	
	public EthUpdateOrderResp() {
		super();
	}
	
	public EthUpdateOrderResp(boolean success, String message, Object obj) {
		super();
		this.success = success;
		this.message = message;
		this.obj = obj;
	}
	
	public static EthUpdateOrderResp makeFail(String message){
		return new EthUpdateOrderResp(false, message, null);
	}
	
	public static EthUpdateOrderResp makeSuccess(String message, Object obj){
		return new EthUpdateOrderResp(true, message, obj);
	}
	
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getObj() {
		return obj;
	}
	public void setObj(Object obj) {
		this.obj = obj;
	}
	
	
}
